package com.tduck.cloud.dashboard.service.charts;

import com.tduck.cloud.dashboard.constant.DashboardConstants;
import com.tduck.cloud.dashboard.request.ChartDataRequest;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author 默认图标数据级别
 */
@Component(value = DashboardConstants.DASHBOARD_CHART_PREFIX + "DefaultChartDataService")
public class DefaultChartDataService extends BaseDashboardChartDataService {


    @Override
    public Map<String, Object> getChartData(ChartDataRequest request) {
        return getDataset(request);
    }
}
